package com.example.sqliteperformancetest;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

public class DBHelper extends SQLiteOpenHelper{
	public DBHelper(Context context){
		super(context, "TEST.db", null, 1);
	}
	
public void onCreate(SQLiteDatabase db) {
		
		//Start Date
		//End Date
		//Start Time
		//End Time
		//Clench Time
		//Relax Time
		//Repeat Time
		
		db.execSQL("CREATE TABLE test (x DOUBLE NOT NULL, y DOUBLE NOT NULL);");
	}

	public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
		db.execSQL("DROP TABLE IF EXISTS test");
		onCreate(db);
	}
}
